package kt.base

fun main() {
    var musicName = "1658907608_10005_13_3.mp_"
    var imageName = "1658907608_10005_13_3.pn_"
    var newMusic = ""
    var newImage = ""

    if (musicName.contains("mp_")){
        newMusic = musicName.replace("mp_" , "mp3")
    }
    if (imageName.contains("pn_")) {
        newImage = imageName.replace("pn_", "png")
    }

    print("musicName = ${newMusic} ; newImage = ${newImage}")
}

